﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="书易.WEB.Default" %>

<%@ Register Src="~/Tou.ascx" TagPrefix="uc1" TagName="Tou" %>
<%@ Register Src="~/CaiD.ascx" TagPrefix="uc1" TagName="CaiD" %>
<%@ Register Src="~/Foot.ascx" TagPrefix="uc1" TagName="Foot" %>
<%@ Register Src="~/left.ascx" TagPrefix="uc1" TagName="left" %>





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>书易</title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        dt, dl
        {
            margin: 0px;
            padding: 0px;
        }
        dd
        {
            margin-left: 40px;
        }
        .flash1
        {
            width: 400px;
            height: 200px;
        }
    </style>
    <script language="javascript">
        window.onLoad = adv();
        var NowFrame = 1;
        var MaxFrame = 2;
        function adv() {
            for (var i = 1; i <= MaxFrame; i++) {
                if (i == NowFrame)
                    document.getElementById('ad' + NowFrame).style.display = 'block';
                else
                    document.getElementById('ad' + i).style.display = 'none';
            }
            {
                if (NowFrame == MaxFrame)
                    NowFrame = 1;
                else
                    NowFrame = NowFrame + 1;
            }
            setTimeout('adv()', 1000);
        }
    </script>
</head>
<body>
    <form runat="server">
        <uc1:Tou runat="server" id="Tou" />
    <div class="blank">
    </div>
        <uc1:CaiD runat="server" id="CaiD" />
    <div class="block clearfix">
        <uc1:left runat="server" id="left" />
        <div class="AreaR">
            <div class="box clearfix">
                <!--                <img src="images/one.png" style="display: none; margin: 0px 0px; width:750px; height:190px; " id="ad1" index="1"  />
                <img src="images/two.png" style="display: block; margin: 0px 0px;width:750px; height:190px;" id="ad2" index="2" />
-->
                <script type="text/javascript">
	<!--

                    var arr = new Array(2);
                    var p1 = new Object();
                    p1.Title = "小猪";
                    p1.Res = "1";
                    p1.ImgUrl = "20070802101706625.jpg";

                    var p2 = new Object();
                    p2.Title = "山水";
                    p2.Res = "2";
                    p2.ImgUrl = "20070802113249375.jpg";

                    arr[0] = p1;
                    arr[1] = p2;
                    var title = "";
                    var res = "";
                    var imgUrl = "";

                    for (var i = 0; i < arr.length; i++) {


                        title += arr[i].Title + "|";
                        res += "ImgShow.aspx?id=" + arr[i].Res + "|";
                        imgUrl += "img/" + arr[i].ImgUrl + "|";

                    }
                    title = title.substring(0, title.length - 1);
                    res = res.substring(0, res.length - 1);
                    imgUrl = imgUrl.substring(0, imgUrl.length - 1);

                    //        框架定义
                    var focus_width = 750;
                    var focus_height = 200;
                    var text_height = 0;
                    var swf_height = focus_height + text_height;

                    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' + focus_width + '" height="' + swf_height + '">');
                    document.write('<param name="allowscriptAccess" value="sameDomain"><param name="movie" value="images/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#cccccc">');
                    document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
                    document.write('<param name="FlashVars" value="pics=' + imgUrl + '&links=' + res + '&texts=' + title + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '">');
                    document.write('<embed src="img/pixviewer.swf" wmode="opaque" FlashVars="pics=' + imgUrl + '&links=' + res + '&texts=' + title + '&borderwidth=' + focus_width + '&borderheight=' + focus_height + '&textheight=' + text_height + '" menu="false" bgcolor="#cccccc" quality="high" width="' + focus_width + '" height="' + swf_height + '" allowscriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
                    document.write('</object>');
	 //-->
                </script>
            </div>
            <div class="blank5">
            </div>
            <div class="blank5">
            </div>
            <div class="box">
                <div class="box_2 centerPadd">
                    <div id="itemBest" class="itemTit">
                    </div>
                    <div class="clearfix goodsBox" id="show_best_area">
                        <div class="goodsItem">
                            <span class="best"></span><a href="goods.aspx">
                                <img class="goodsimg" alt="C++ Primer 习题解答（第4版）" src="images/9787115155108.jpg"></a><br>
                            <p>
                                <a title="C++ Primer 习题解答（第4版）" href="#">C++ Primer 习题解答（第4版）</a></p>
                            <font class="f1">￥45.000元 </font>
                        </div>
                        <div class="goodsItem">
                            <span class="best"></span><a href="goods.aspx">
                                <img class="goodsimg" alt="C++ Primer 习题解答（第4版）" src="images/9787115155108.jpg"></a><br>
                            <p>
                                <a title="C++ Primer 习题解答（第4版）" href="#">C++ Primer 习题解答（第4版）</a></p>
                            <font class="f1">￥45.000元 </font>
                        </div>
                        <div class="goodsItem">
                            <span class="best"></span><a href="goods.aspx">
                                <img class="goodsimg" alt="C++ Primer 习题解答（第4版）" src="images/9787115155108.jpg"></a><br>
                            <p>
                                <a title="C++ Primer 习题解答（第4版）" href="#">C++ Primer 习题解答（第4版）</a></p>
                            <font class="f1">￥45.000元 </font>
                        </div>
                        <div class="more">
                            <a href="#">
                                <img src="images/more.gif"></a></div>
                    </div>
                </div>
            </div>
            <div class="blank5">
            </div>
            <div class="box">
                <div class="box_2 centerPadd">
                    <div id="itemNew" class="itemTit New">
                    </div>
                    <div class="clearfix goodsBox" id="show_new_area">
                        <div class="goodsItem">
                            <span class="best"></span><a href="#">
                                <img class="goodsimg" alt="Visual C++2005入门经典" src="images/9787302142713.jpg"></a><br>
                            <p>
                                <a title="Visual C++2005入门经典" href="#">Visual C++2005入门经典</a></p>
                            <font class="f1">￥118.000元 </font>
                        </div>
                        <div class="goodsItem">
                            <span class="best"></span><a href="#">
                                <img class="goodsimg" alt="Visual C++2005入门经典" src="images/9787302142713.jpg"></a><br>
                            <p>
                                <a title="Visual C++2005入门经典" href="#">Visual C++2005入门经典</a></p>
                            <font class="f1">￥118.000元 </font>
                        </div>
                        <div class="goodsItem">
                            <span class="best"></span><a href="#">
                                <img class="goodsimg" alt="Visual C++2005入门经典" src="images/9787302142713.jpg"></a><br>
                            <p>
                                <a title="Visual C++2005入门经典" href="#">Visual C++2005入门经典</a></p>
                            <font class="f1">￥118.000元 </font>
                        </div>
                        <div class="more">
                            <a href="#">
                                <img src="images/more.gif"></a></div>
                    </div>
                </div>
            </div>
            <div class="blank5">
            </div>
            <div class="blank5">
            </div>
        </div>
    </div>
        <uc1:Foot runat="server" id="Foot" />
    </form>
</body>
</html>